<template>
  <view class="empty-box">
    <view>
      <image src="/images/empty.png" />
    </view>
    <view>
      <text>{{ title }}</text>
    </view>
  </view>
</template>

<script>
export default {
  name: 'Empty',
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style>
.empty-box {
  padding: 200rpx 0;
  overflow: hidden;
  text-align: center;
}

.empty-box image {
  width: 300rpx;
  height: 300rpx;
}

.empty-box text {
  font-size: 24rpx;
  color: #666;
}
</style>
